﻿using System.ComponentModel.DataAnnotations;

namespace B.S.DataBase.MyRead.API.DTOs
{
    public class GetMeunList
    {
       
            /// <summary>
            /// 菜单编号
            /// </summary>
            public int MenuId { get; set; }
            /// <summary>
            /// 菜单名称
            /// </summary>
            public string MenuName { get; set; }
            /// <summary>
            /// 菜单地址
            /// </summary>
            public string Url { get; set; }
            /// <summary>
            /// 菜单父级编号
            /// </summary>
            public int PId { get; set; }

            /// <summary>
            /// 创建人
            /// </summary>
            public string CreateName { get; set; }
            /// <summary>
            /// 创建时间
            /// </summary>
            public DateTime CreateTime { get; set; }
            /// <summary>
            /// 修改人
            /// </summary>
            public string? UpdateName { get; set; }
            /// <summary>
            /// 修改时间
            /// </summary>
            public DateTime? UpdateTime { get; set; }
            /// <summary>
            /// 排序Id
            /// </summary>
            public int? OrderById { get; set; }

            /// <summary>
            /// 子菜单列表
            /// </summary>
            public List<GetMeunList> ChilDren { get; set; }
    }
}

